efa mgmt route delete

Deletes a virtual management route in a multi-node deployment for the Multiple Management IP Networks feature.

Syntax

efa mgmt route delete [ --src mmip-vip | --to dest-cidr | --via next-hop-ip ]

Parameters

--src mmip-vip
Identifies the source IP address for the route. Example: 192.168.34.40 or 2000::1.
--to dest-cidr
Identifies the destination network for outbound traffic, as CIDR. Example: 10.20.0.0/16 or 3000::/64.
--via next-hop-ip
Identifies the next-hop or gateway IP address through which access to the destination network is provided. Example: 192.168.34.45 or 2000::2.

Examples

The following example deletes a virtual IPv4 route.

$ efa mgmt route delete --src 10.21.30.40 --to 192.168.100.0/24 --via 10.21.30.41 

Virtual Route deleted successfully 

The following example deletes an IPv6 virtual route.

efa mgmt route delete --src=2000::1 --via=2000::2 --to=4000::/64